package pack1021.interface2;

public class Teacher {

    private String name;

    public Teacher(String name) {
        this.name = name;
    }

    public String detail() {
        return "我是：" + name;
    }
}